<?php
function __autoload($className) {
	if (file_exists('./Controller/' . $className . '.class.php')) {
		include './Controller/' . $className . '.class.php';
	} elseif (file_exists('./Model/'.$className.'.class.php')) {
		include './Model/' . $className . '.class.php';
	} elseif (file_exists('./Libs/' . $className . '.php')) {
		include './Libs/' . $className . '.php';
	}
}